package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.List;

import com.indexingsystem.boss.entity.Tables;
import com.indexingsystem.boss.entity.TablesColRelations;

public class TablesVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7067310253798132646L;

	private Tables tables;
	
	private List<TablesColRelations> tablesColRelations;
	
	private Integer opType ;
	
	private String tableId;

	public Integer getOpType() {
		return opType;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public void setOpType(Integer opType) {
		this.opType = opType;
	}

	public Tables getTables() {
		return tables;
	}

	public void setTables(Tables tables) {
		this.tables = tables;
	}

	public List<TablesColRelations> getTablesColRelations() {
		return tablesColRelations;
	}

	public void setTablesColRelations(List<TablesColRelations> tablesColRelations) {
		this.tablesColRelations = tablesColRelations;
	}
	public TablesVo() {
		super();
	}

	public TablesVo(Tables tables, List<TablesColRelations> tablesColRelations, Integer opType, String tableId) {
		super();
		this.tables = tables;
		this.tablesColRelations = tablesColRelations;
		this.opType = opType;
		this.tableId = tableId;
	}

	@Override
	public String toString() {
		return "TablesVo [tables=" + tables + ", tablesColRelations=" + tablesColRelations + ", opType=" + opType
				+ ", tableId=" + tableId + "]";
	}

}
